android_binary(
  name = 'crypto',
  manifest = 'AndroidManifest.xml',
  keystore = '//keystores:debug',
  deps = [
    ':crypto-lib',
  ],
)

# instrumentation test on Android 6
android_binary(
  name = 'crypto-6',
  manifest = 'AndroidManifest.xml',
  keystore = '//keystores:debug',
  deps = [
    ':crypto-lib',
  ],
  manifest_entries = {
    'min_sdk_version': 16,
    'target_sdk_version': 23,
  },
)

android_library(
  name = 'crypto-lib',
  srcs = glob(['src/**/*.java']),
  deps = [
#    '//:conceal_android',
#`    '//:libconceal',
    '//:prebuilt_aar',
    '//third-party/guava:guava',
    '//third-party/spongycastle:sc-light-jdk15on',
    '//third-party/spongycastle:scprov-jdk15on',
  ],
)

